package com.shadow.domain;

import javax.persistence.*;

/**
 * Created by qq65827 on 2015/1/26.
 */
@Entity
@Table(name = "issue_version")
public class IssueVersion extends BaseObject {

    @Column(name="f_name")
    private String name;

    @Column(name = "comment")
    private String comment;

    @ManyToOne
    @JoinColumn(name = "f_issue_id")
    private Issue issue;

    public String getName() {
        return name;
    }

    public Issue getIssue() {
        return issue;
    }

    public void setIssue(Issue issue) {
        this.issue = issue;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getComment() {
        return comment;
    }

    public void setComment(String comment) {
        this.comment = comment;
    }
}
